package com.inifitness.admin.core.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 参数分页对象
 *
 * @author sunjinfeng
 * @since 2024/04/18 11:00:00
 */
@Schema(description = "参数分页对象")
@Data
public class ConfigPageVO implements Serializable {

  @Serial
  private static final long serialVersionUID = 7851027092653512926L;

  @Schema(description = "参数ID")
  private Long id;

  @Schema(description = "参数名称")
  private String name;

  @Schema(description = "参数编码")
  private String code;

  @Schema(description = "参数类型")
  private String clazz;

  @Schema(description = "参数类型")
  private String clazzLabel;

  @Schema(description = "参数值")
  private String value;

  @Schema(description = "参数状态")
  private Integer status;

  @Schema(description = "排序")
  private Integer sort;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime createTime;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime updateTime;
}
